package com.company.bookstore.mapper.user_admin_module;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.bookstore.entities.user_admin_module.User;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author 吴经纶
 * @blame Android Team
 * @since 2020-08-27
 */
public interface UserMapper extends BaseMapper<User> {

    //由赵云霞定义，用于订单中获取用户详情的方法
    @Select("select * from t_user where id = #{id}")
    User getUserDetail(int uid);

}
